package com.zj.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zj.system.pojo.entity.SysMenu;

import java.util.List;
import java.util.Map;

/**
 * @program: clms-seventh
 * @description: 左侧导航栏的mapper接口
 * @author: 张静
 * @create: 2021-07-18 20:03
 **/
public interface MenuMapper extends BaseMapper<SysMenu> {
    List<SysMenu> selectFuntion(Integer userId);
    int insertByRoleId(Integer roleId,List<Integer> roleMenu);
    int deleteByRoleId(Integer roleId);
    List<SysMenu> selectMenuByRole(Integer roleId);

}
